package com.feicheng.persistence.entity;

import java.time.LocalTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 房间小时单价
 * </p>
 *
 * @author cailongyang
 * @since 2025-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Aroomhourlyprices implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 场地小时单价ID
     */
    @TableId
    private String hid;

    /**
     * 场地ID
     */
    private String roomid;

    /**
     * 单价 人民币分
     */
    private Integer price;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern= "HH:mm")
    @JsonFormat(pattern="HH:mm", timezone = "GMT+8")
    private LocalTime st;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern= "HH:mm")
    @JsonFormat(pattern="HH:mm", timezone = "GMT+8")
    private LocalTime et;

    /**
     * 0下架；1上架；
     */
    private Boolean stu;


}
